import { defineMock } from "./base";

export default defineMock([
  {
    url: "/verifyPicture",
    method: ["GET"],
    body: {
      code: 1,
      data: {
        id: "534b8ef2b0a24121bec76391ddd159f9",
        picture:
          "",
      },
      msg: "一切ok",
    },
  },

  {
    url: "/login",
    method: ["POST"],
    body: {
      code: 1,
      data: "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxIiwiZXhwIjoxNzI2MTYyNjkwfQ.cork-RGdn5nqsU5GtbQQ8CrUnU2ayHRCL9IHcUHXIVM",
      msg: "一切ok",
    },
  },

  {
    url: "/logout",
    method: ["DELETE"],
    body: {
      code: 1,
      data: {},
      msg: "string",
    },
  },
]);
